package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
public class IndexController {

    @RequestMapping("/")
    public String index() {
        return "Hello World! The time at the server is now " + new Date();
    }


}
